Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: File Upload not working
~Ned Cistooskioni 14.Jan.04 06:41 PM a Web browser
Domino Designer All Releases Windows 2000


My new development was mostly complying with new IBM internet standards for ibm.com websites. Which turned out to be a problem because their new masthead contains a search form which conflicts with the Domino form itself. I applied a workaround by adding some hidden code to close their form and open mine as follow:
<tr><td colspan="2">
<table border="0" cellpadding="0" cellspacing="0"><tr><td>
</form><form method=post action="<computedvalue>NewUserReg?CreateDocument" name="_NewUserReg" onsubmit="return checkdata()">
</td><td valign="top"></td></tr></table>
</td></tr>
where the computed value contains the following formula:
path := "/" + @WebDbName;
path

The submit button was a regular Domino button:
<p><font size=-1 face="Arial"><input type="button" name="SubmitRequest" value="SubmitRequest" onClick="checkdata()"></font>

and is now passthru html:
<p><input type="image" src="//www.ibm.com/i/v11/buttons/submit.gif" name="Submit" value="Submit" alt="Submit" border="0"/></p>
<!-- Submit and checkdata() is handled by the workaround form tag so there is no need for onclick=checkdata() on the submit image -->

The input field validation was done in Javascript and still is. The only difference are:
1) I Had to refer to my form as 2 instead of 0:
var doc = document.forms[2];
2) I commented out the following lines:
// doc.submit();
// return true;

Would any of the above affect a file upload?

I read the Domino Designer help and it said that when attachments are not being saved in the document, it is because there is no temporary directory on the server. But the CDT help desk assures me that their server has been up for months and nobody else has complained. So you are probably right. There is something I am doing that must be causing a problem. I tried to force an extract and reattach of the file but the result is the same. It totally ignores the attachment.




File Upload not working (~Ned Cistooskio... 14.Jan.04)
. . RE: File Upload not working (~Hal Zenrekonyl... 14.Jan.04)
. . . . RE: File Upload not working (~Ned Cistooskio... 14.Jan.04)
. . . . . . RE: File Upload not working (~Hal Zenrekonyl... 14.Jan.04)
. . . . . . RE: File Upload not working (~Ned Cistooskio... 20.Jan.04)
. . RE: File Upload not working (~Zelda Prefoost... 14.Jan.04)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS